package com.googlecode.continuity.core.web.controller.rpc;

import com.googlecode.continuity.core.service.GroupService;
import com.googlecode.continuity.core.web.gwt.GroupRpc;

/**
 * GroupRpcImpl
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public class GroupRpcImpl implements GroupRpc {
  private GroupService groupService;

  public GroupService getGroupService() {
    return groupService;
  }

  public void setGroupService(GroupService groupService) {
    this.groupService = groupService;
  }

  public int getGroupCount() {
    return groupService.getGroupCount();
  }
}
